﻿using _1_Interfaces.Models.Dtos.Cjw;
using System;
using System.Collections.Generic;
using System.Text;

namespace _1_Interfaces.Interfaces.Cjw
{
    /// <summary>
    /// 操作记录表服务
    /// </summary>
    public interface IOperationListService
    {
        /// <summary>
        /// 关于操作记录插入
        /// </summary>
        /// <param name="operationListAddDto"></param>
        void InsertOpData(OperationListAddDto operationListAddDto);

        /// <summary>
        /// 获取操作日志
        /// </summary>
        /// <param name="startTime">开始时间</param>
        /// <param name="endTime">结束时间</param>
        /// <param name="pageIndex">第几页</param>
        /// <param name="pageSize">一页几条</param>
        /// <returns></returns>
        OperationListDto GetOpList(string startTime, string endTime, int pageIndex, int pageSize);
    }
}
